package me.boot.db.hbase;

import com.github.CCweixiao.HBaseTemplate;
import org.apache.hadoop.hbase.filter.FilterList;
import org.apache.hadoop.hbase.filter.SingleColumnValueFilter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class HbaseCrudServiceImpl implements HbaseCrudService {

    @Autowired
    HBaseTemplate template;

    @Override
    public boolean createTable(String tableName, String... family) {
        return false;
    }

    @Override
    public <T> List<T> searchAll(String tableName, Class<T> c) {
        return null;
    }

    @Override
    public Object createPro(Object object, String tableName, String family, String rowkey) {
        return null;
    }

    @Override
    public <T> T getOneToClass(Class<T> c, String tableName, String rowkey) {
        return null;
    }

    @Override
    public <T> List<T> getListByCondition(Class<T> c, String tableName, FilterList filterList) {
        return null;
    }

    @Override
    public Map<String, Object> getOneToMap(String tableName, String rowName) {
        return null;
    }

    @Override
    public String getColumn(String tableName, String rowkey, String family, String column) {
        return null;
    }

    @Override
    public <T> List<T> findByRowRange(Class<T> c, String tableName, String startRow, String endRow) {
        return null;
    }

    @Override
    public <T> List<T> searchAllByFilter(Class<T> clazz, String tableName, SingleColumnValueFilter scvf) {
        return null;
    }
}
